package com.menu.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.menu.common.annotation.Excel;
import com.menu.common.core.domain.BaseEntity;

/**
 * 培训信息对象 menu_training
 *
 * @author ruoyi
 * @date 2024-07-10
 */
public class MenuTraining extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 培训ID */
    private Long trainId;

    /** 培训标题 */
    @Excel(name = "培训标题")
    private String trainTitle;

    /** 培训内容 */
    @Excel(name = "培训内容")
    private String trainText;

    /** 培训图片 */

    private String trainImg;

    /** 培训附件 */

    private String trainAttachment;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setTrainId(Long trainId)
    {
        this.trainId = trainId;
    }

    public Long getTrainId()
    {
        return trainId;
    }
    public void setTrainTitle(String trainTitle)
    {
        this.trainTitle = trainTitle;
    }

    public String getTrainTitle()
    {
        return trainTitle;
    }
    public void setTrainText(String trainText)
    {
        this.trainText = trainText;
    }

    public String getTrainText()
    {
        return trainText;
    }
    public void setTrainImg(String trainImg)
    {
        this.trainImg = trainImg;
    }

    public String getTrainImg()
    {
        return trainImg;
    }
    public void setTrainAttachment(String trainAttachment)
    {
        this.trainAttachment = trainAttachment;
    }

    public String getTrainAttachment()
    {
        return trainAttachment;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("trainId", getTrainId())
            .append("trainTitle", getTrainTitle())
            .append("trainText", getTrainText())
            .append("trainImg", getTrainImg())
            .append("trainAttachment", getTrainAttachment())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
